package com.tms.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tms.mapper.ReviewMapper;
import com.tms.entity.Review;
import com.tms.service.ReviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 存储评价信息(Review)表服务实现类
 *
 * @author makejava
 * @since 2024-12-27 23:17:26
 */
@Service("reviewService")
public class ReviewServiceImpl extends ServiceImpl<ReviewMapper, Review> implements ReviewService {
    @Autowired
    private ReviewMapper reviewMapper;

    @Override
    public IPage pageList(Page<Review> page, Wrapper<Review> wrapper) {
        return reviewMapper.pageList(page, wrapper);
    }
}


